load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "go_default_library",
    srcs = [
        "common.go",
        "generated_mock_common.go",
    ],
    importpath = "kubevirt.io/kubevirt/pkg/network/driver",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/network/cache:go_default_library",
        "//pkg/network/dhcp/server:go_default_library",
        "//pkg/network/dhcp/serverv6:go_default_library",
        "//pkg/network/dns:go_default_library",
        "//staging/src/kubevirt.io/api/core/v1:go_default_library",
        "//staging/src/kubevirt.io/client-go/log:go_default_library",
        "//vendor/github.com/vishvananda/netlink:go_default_library",
        "//vendor/go.uber.org/mock/gomock:go_default_library",
        "//vendor/k8s.io/utils/net:go_default_library",
    ],
)

go_test(
    name = "go_default_test",
    srcs = ["driver_suite_test.go"],
    race = "on",
    deps = ["//staging/src/kubevirt.io/client-go/testutils:go_default_library"],
)
